Carbon


ControlCNTLToCollectionProcPtr

Header: Controls.h Carbon status: Under Evaluation

typedef OSStatus(* ControlCNTLToCollectionProcPtr) (
    const Rect *bounds, 
    SInt16 value, 
    Boolean visible, 
    SInt16 max, 
    SInt16 min, 
    SInt16 procID, 
    SInt32 refCon, 
    ConstStr255Param title, 
    Collection collection
);

You would declare your function like this if you were to name it MyControlCNTLToCollectionCallback:

OSStatus MyControlCNTLToCollectionCallback (
    const Rect *bounds, 
    SInt16 value, 
    Boolean visible, 
    SInt16 max, 
    SInt16 min, 
    SInt16 procID, 
    SInt32 refCon, 
    ConstStr255Param title, 
    Collection collection
);
bounds
value
visible
max
min
procID
refCon
title
collection
function result

A result code.

AVAILABILITY

Under evaluation for Carbon.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)